//
//  PhotoUploadViewController.h
//  MySpaceID.Demo
//
//  Created by Haider Sabri on Thursday10/15/09.
//  Copyright 2009 MySpace, Inc. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RestV1.h"
#import "RoaApi.h"

@interface PhotoUploadViewController : UIViewController<UIImagePickerControllerDelegate> {

	OffsiteContext *context;
	RestV1 *restApi;
	RoaApi *roaApi;
	NSInteger userId;
	NSInteger albumId;
	UIImagePickerController *imagePickerController;
	
}
@property (assign) NSInteger userId;
@property (assign) NSInteger albumId;
@property (nonatomic, retain) OffsiteContext* context;
@property (nonatomic, retain) RestV1* restApi;
@property (nonatomic, retain) RoaApi *roaApi;
@property (nonatomic, retain) UIImagePickerController *imagePickerController;

- (IBAction) uploadPhoto : (id) sender;

#pragma mark --
#pragma mark UIImagePickerController Methods

- (void)imagePickerController:(UIImagePickerController *)picker
        didFinishPickingImage:(UIImage *)image
				  editingInfo:(NSDictionary *)editingInfo;
- (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker;

@end
